package com.caseProcess.service;

import com.caseProcess.entity.Role;
import com.caseProcess.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {
    int insert(Role role);
    int update(Role role);
    int delete(Role Role);
    List<Role> selectRole(Role role);

    Role isExist(@Param("roleName") String roleName);
}
